home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / amos / amoslist.lzh / AMOSLIST / 000352_amos-request@svcs1.digex.net_Wed Sep 27 11:13:54 1995.msg < prev    next >
Internet Message Format  |  1995-10-02  |  2KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id LAA23506;  for <mcox@access.digex.net> ; Wed, 27 Sep 1995 11:13:53 -0400
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id CAA28413 for amos-out; Wed, 27 Sep 1995 02:42:23 -0400
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id CAA28410 for <amos-list@svcs1.digex.net>; Wed, 27 Sep 1995 02:42:22 -0400
  4. Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) by mail1.access.digex.net (8.6.12/8.6.12) with SMTP id CAA16522;  for <amos-list@access.digex.net> ; Wed, 27 Sep 1995 02:42:16 -0400
  5. Received: from post.demon.co.uk by relay-2.mail.demon.net id ap20513;
  6.           26 Sep 95 23:33 GMT
  7. Received: from westmead.demon.co.uk by post.mail.demon.net id ab07583;
  8.           26 Sep 95 16:14 +0100
  9. From: Mark Carter <Mark@westmead.demon.co.uk>
  10. Organization:  None Whatsoever
  11. To: amos-list@access.digex.net
  12. Date:          Tue, 26 Sep 1995 10:45:35 +0000
  13. Subject:       Re: Help me!
  14. Priority: normal
  15. X-mailer: Pegasus Mail/Windows (v1.22)
  16. Message-ID:  <9509261614.ab07583@post.mail.demon.net>
  17. Status: RO
  18. X-Status: 
  19.  
  20. > M> circle. Is there any extension to do it??
  21. > M> Otherwise I have to use sin() and cos() function, but these are relly very
  22. > This should do it:
  23. > Procedure _PART_OF_CIRCLE[R,A,B,X,Y,STP]
  24.  
  25. Insert here:  STP=Min(STP,B)
  26. Otherwise you get a never ending loop!
  27.  
  28. >    Gr Locate X+Sin(A)*R,Y-Cos(B)*R
  29.  
  30. I thought he meant not to use sin/cos....
  31.  
  32. >    For N=A+STP To A+B Step STP
  33. >       Draw To X+Sin(N)*R,Y-Cos(N)*R
  34. >    Next N
  35. > EndProc
  36. > Where:
  37. >   R=Radius
  38. >   A=Start angle
  39. >   B=Degrees to rotate
  40. > X+Y=Centre of circle
  41. > STP=Accuracy (small=slow but accurate, large=fast but less accurate)
  42. >     Use about 4-5, depending on the size of the circle.
  43.  
  44. Cheers,
  45.  
  46. Mark
  47.  
  48. Mark Carter
  49. e-mail: mark@westmead.demon.co.uk,   exet0007@sable.ox.ac.uk